Clipboard Copy / Paste
Previous  Top  Next



Use the following commands and functions to use the Windows Clipboard and exchange text with other applications.


Commands:

^!ClipBoardRestore
[+] (added in v4.6)
Restore the contents of clipboard saved through the ^!ClipBoardSave
command. Use the optional "+" parameter if you want NoteTab to keep the saved Clipboard data in its internal memory (lets you restore it again at a later stage).

^!ClipBoardSave (added in v4.6)
Saves the Clipboard contents (any type of data) in NoteTab's internal memory. This command is to be used in conjunction with ^!ClipBoardRestore
. It is particularly useful when you want to use the Clipboard for temporary storage without permanently removing what the user may have initially stored in it.

^!CopyClip ClipName
Copies the content of a Clip directly into the Clipboard. Clips are not executed through this procedure, so even if the Clip is executable or contains variables, these are not processed and the text is used in its original state.

^!Paste
Inserts the Clipboard contents into the active document.

^!PasteBack
Unlike the "^!Paste
" command, which pastes the Clipboard content into the current NoteTab document, "^!PasteBack" attempts to paste into the last control that copied text to the Clipboard (the control is not reset when text is copied through Clip commands). Thanks to this command, you can paste text processed by the Clipbook into practically any active application. Note that this feature is only available in the commercial and trial versions of NoteTab.

^!PasteSelect
Pastes the content of Clipboard into active document and selects the pasted text.

^!SetClipboard Any text with tokens (^p/^t)
Copies the text following the command into the Clipboard. Since the text must hold on the same line as the command, you will have to use the ^p token to indicate line breaks.

^!TypeBack
Similar to PasteBack
but inserts text by typing it instead of pasting it. Slower than PasteBack but may work better with some applications.


Functions:

^$GetClipboard$
Returns the text contained in the Clipboard.

^$GetClipboardSize$
Returns the size of text contained in the Clipboard.